home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- # Automatically added by dh_pycentral
- rm -f /var/lib/pycentral/software-center.pkgremove
- if which pycentral >/dev/null 2>&1; then
- pycentral pkginstall software-center
- if grep -qs '^software-center$' /var/lib/pycentral/delayed-pkgs; then
- sed -i '/^software-center$/d' /var/lib/pycentral/delayed-pkgs
- fi
- fi
- # End automatically added section
-
-
- if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then
-
- # update the application data
- update-software-center --triggered "$2" || true
-
- exit 0
- fi
-
-
-
-
-
-